package com.bank.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * BankAdmin entity. @author MyEclipse Persistence Tools
 */

public class BankAdmin implements java.io.Serializable {

	// Fields

	private Integer adminId;
	private String adminLoginname;
	private String adminPassword;
	private String adminName;
	private Timestamp adminDate;
	private Set bankMgrLogs = new HashSet(0);
	private Set bankLoginLogs = new HashSet(0);

	// Constructors

	/** default constructor */
	public BankAdmin() {
	}

	/** minimal constructor */
	public BankAdmin(String adminLoginname, String adminPassword,
			String adminName, Timestamp adminDate) {
		this.adminLoginname = adminLoginname;
		this.adminPassword = adminPassword;
		this.adminName = adminName;
		this.adminDate = adminDate;
	}

	/** full constructor */
	public BankAdmin(String adminLoginname, String adminPassword,
			String adminName, Timestamp adminDate, Set bankMgrLogs,
			Set bankLoginLogs) {
		this.adminLoginname = adminLoginname;
		this.adminPassword = adminPassword;
		this.adminName = adminName;
		this.adminDate = adminDate;
		this.bankMgrLogs = bankMgrLogs;
		this.bankLoginLogs = bankLoginLogs;
	}

	// Property accessors

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminLoginname() {
		return this.adminLoginname;
	}

	public void setAdminLoginname(String adminLoginname) {
		this.adminLoginname = adminLoginname;
	}

	public String getAdminPassword() {
		return this.adminPassword;
	}

	public void setAdminPassword(String adminPassword) {
		this.adminPassword = adminPassword;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public Timestamp getAdminDate() {
		return this.adminDate;
	}

	public void setAdminDate(Timestamp adminDate) {
		this.adminDate = adminDate;
	}

	public Set getBankMgrLogs() {
		return this.bankMgrLogs;
	}

	public void setBankMgrLogs(Set bankMgrLogs) {
		this.bankMgrLogs = bankMgrLogs;
	}

	public Set getBankLoginLogs() {
		return this.bankLoginLogs;
	}

	public void setBankLoginLogs(Set bankLoginLogs) {
		this.bankLoginLogs = bankLoginLogs;
	}

}